clean:
	rm -rf library/*
	rm -rf local/logs/*
	rm -rf temp/*

config:
	cd ./extensions/export_xlsx && node index.js

config_git:
	git pull
	cd ./extensions/export_xlsx && node index.js

#导出配置表到服务器
config_server:
	cp -r ./assets/resources/game/data ./../game_wysby_server/src/game
	cp -r ./assets/script/game/entity ./../game_wysby_server/src/game

mvc_creator_build:
	cd ./extensions/mvc_creator && npm install && npm run build

export_xlsx_build:
	cd ./extensions/export_xlsx && npm install && npm run build

#构建插件
build_ext:
	cd ./extensions/mvc_creator && npm install && npm run build
	cd ./extensions/export_xlsx && npm install && npm run build

test:
	cd ./auto-pack && node index.js

release:
	cd ./auto-pack && node pack.js release	

release_apk:
	cd ./auto-pack && node pack.js release_apk

#构建微信小程序项目
release_wx:
	cd ./auto-pack && node pack_wx.js release
debug_wx:
	cd ./auto-pack && node pack_wx.js debug

